//
//  login_in.swift
//  AIMobileOfficeiOSApp
//
//  Created by 邓杰 on 2018/6/20.
//  Copyright © 2018年 AIMobileOffice. All rights reserved.
//

import UIKit

class login_in: UIViewController {

    @IBOutlet var signup:UIButton!
    @IBOutlet var emailtxt:UITextField!
    @IBOutlet var passwordtxt:UITextField!
    @IBOutlet var confirmButto:UIButton!
    
    @IBAction func gotosignup(){
        self.performSegue(withIdentifier: "go_to_signup", sender: nil)
    }
    
    @IBAction func gotoDashboard()
    {
        if emailtxt.text == "1", passwordtxt.text == "1"{
            self.performSegue(withIdentifier: "go_to_dashboard", sender: nil)
        }
    }
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
